home *** CD-ROM | disk | FTP | other *** search
- Path: rowdy.lonestar.org!nemesis!hammy!not-for-mail
- From: gordon@sneaky.lerctr.org (Gordon Burditt)
- Newsgroups: comp.lang.c
- Subject: Re: String manipulation routines for C
- Date: 27 Feb 1996 17:41:27 -0600
- Organization: What organization?
- Message-ID: <4h04r7$7e0@hammy.lonestar.org>
- References: <4gio78$ipr@bart.rogerswave.ca> <4gntb5$i41@nw002.infi.net>
- NNTP-Posting-Host: localhost.hammy.lonestar.org
-
- >There are over 2 dozen standard, built-in functions for manipulating
- >strings in 'C' - way more than Pascal ever offered. The functions are
- >prototyped in an include file <string.h> and are explained in any 'C'
- >book. Following is a partial list.
-
- Unfortunately, it got contaminated with non-standard functions.
-
- >strcmp - compare 2 strings to see if there are the same (case sensitive)
- >stricmp - same as above, but case insensitive
-
- stricmp() is NOT an ANSI C function.
-
- >strrev - reverse a string
-
- strrev() is NOT an ANSI C function.
-
- >itoa - xlat an integer to a string (like BASIC's STR fn)
-
- itoa() is NOT an ANSI C function. (Use sprintf().)
-
- Gordon L. Burditt
- sneaky.lerctr.org!gordon
-